<?php 
/*
 * This file is part of Big Picture Gallery (BPG).
 *
 * Big Picture Gallery (BPG) is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Big Picture Gallery (BPG) is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Big Picture Gallery (BPG).  If not, see <http://www.gnu.org/licenses/>.
 */
?>

<?php foreach ($albums as $album): ?>
	<div class="grid_4 alpha omega album_comment">
		<img src="<?php ressource("img/icon_com.gif") ?>" alt="Icône commentaires" />
		<span>&nbsp;<strong>999</strong> comments.</span>
	</div>
	<div class="grid_20 alpha omega album_description">
		<span>19 Décembre 2011</span>
  	<h2>
  		<a href="<?php linkTo("album", "view", $album['id']); ?>"><?php echo $album['titre']; ?></a>
  	</h2>
    <p><?php echo $album['description']; ?> <em> -- Julien Pardo</em> <strong>(36 photos)</strong></p>
	</div>
  <div class="grid_24 alpha omega">
    <img src="<?php echo $album['imagePath']; ?>" alt="<?php echo $album['imageTitle']; ?>" />
    <p class="photo_description"><?php echo $album['imageDescription']; ?></p>
  </div>
<?php endforeach; ?>
